package main;

import java.util.ArrayList;
import movement.Location;
import emergency.*;
import emergency.Fire.Size;

public class FacadeOperator extends Facade {

	public FacadeOperator(World world) {
		super(world);
	}

	@SuppressWarnings("unused")
	public void createDisaster(String description, ArrayList<Emergency> emergencies) {
		Disaster disaster = new Disaster(getDispatchCenter(), emergencies, description);
	}

	@SuppressWarnings("unused")
	public void createFire(Location location, Severity severity, Size size,
			Boolean chemical, int trappedPeople, int numberOfInjured) {
		Fire newFire = new Fire(location, severity, super.getWorld()
				.getDispatchCenter(), size, chemical, trappedPeople,
				numberOfInjured);
	}

	@SuppressWarnings("unused")
	public void createPublicDisturbance(Location location, Severity severity,
			int numberOfPeople) {
		PublicDisturbance newPublicDisturbance = new PublicDisturbance(
				location, severity, super.getWorld().getDispatchCenter(),
				numberOfPeople);
	}

	@SuppressWarnings("unused")
	public void createRobbery(Location location, Severity severity,
			boolean armed, boolean inProgress) {
		Robbery newRobbery = new Robbery(location, severity, super.getWorld()
				.getDispatchCenter(), armed, inProgress);
	}

	@SuppressWarnings("unused")
	public void createTrafficAccident(Location location, Severity severity,
			int numberOfCars, int numberOfInjured) {
		TrafficAccident newTrafficAccident = new TrafficAccident(location,
				severity, super.getWorld().getDispatchCenter(), numberOfCars,
				numberOfInjured);
	}


	public Severity[] getSeverityTypes() {
		return Severity.values();
	}

}
